#ifndef __REVENG_MUTEXWIN32_HPP__
#define __REVENG_MUTEXWIN32_HPP__

#include <RevEng/IMutex.hpp>
#include "WinHeader.h"

namespace RevEng
{
	class MutexWin32 : public IMutex
	{
	private:
		CRITICAL_SECTION m_Cs;

	public:
		MutexWin32();
		virtual ~MutexWin32();
		virtual void Lock();
		virtual void Unlock();
		virtual bool TryLock();
	};
}

#endif	//__REVENG_MUTEXWIN32_HPP__
